package com.example.floatingpopulation.service;

import com.example.floatingpopulation.controller.request.BaseRequest;
import com.example.floatingpopulation.entity.JurisdictionalUnit;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

import java.util.List;

public interface JurisdictionalUnitService {
    List<JurisdictionalUnit> list();

    PageInfo<JurisdictionalUnit> page(BaseRequest BaseRequest);

    void save(JurisdictionalUnit obj);

    void update(JurisdictionalUnit obj);

    void deleteById(Integer id);
}
